<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- 引入浏览器默认样式 -->
    <link rel="stylesheet" href="./../css/reset.css">
    <!-- 引入MUI -->
    <link rel="stylesheet" href="./../lib/mui/css/mui.css">
    <!-- 引入字体图标库 -->
    <link rel="stylesheet" href="./../lib/fontAwesome/css/font-awesome.css">
    <!-- 引入公共样式 -->
    <link rel="stylesheet" href="./../css/common.css">
    <!-- 引入页面样式 -->
    <link rel="stylesheet" href="./../css/details.css">
    <title>集单-详情</title>
</head>

<body>
    <!-- 头部 -->
    <header class="mui-header mui-bar mui-bar-nav">
        <a id="jd-back" class="jd-back  mui-pull-left" href="javascript:history.back();"><i class="fa fa-angle-left"></i></a>
        <h1 class="mui-title">产品详情</h1>
    </header>
    <!-- 底部 -->
    <footer class="mui-footer mui-bar mui-bar-tab">
        <a class="mui-item active" href="./cart.html">
            <span class="mui-tab-label">加入购物车</span>
        </a>
        <a class="mui-item" href="./super/suprManage.html">
            <span class="mui-tab-label">立即下单</span>
        </a>
    </footer>
    <!-- 主体 -->
    <main class="mui-main ">
        <ul class="mui-table-view details">
            <!-- <li class="mui-table-view-cell ">
                <p class="title">商品名称</p>
                <p class="details-price clearfex">
                    <span> ￥<i>15.00</i></span>
                    <span>库存：
                        <i>2999</i>
                    </span>
                </p>
                <div class="details-info">
                    商品介绍商品介绍商品介绍商品介绍商品介绍商品介绍商品介绍商品介绍商品介绍 商品介绍 商品介绍 商品介绍 商品介绍
                </div>
            </li>
            <li class="mui-table-view-cell ">
                <div class="type">
                    <span>规格：</span>
                    <span> 选着型号：</span>
                    <span>分类：</span>
                </div>
                <div class="product-number">
                        <span>购买数量</span>
                        <div class="mui-numbox" data-numbox-min='1'>
                            <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
                            <input class="mui-numbox-input" type="number" value="<%=num%>" />
                            <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
                        </div>
                    </div>
             </li>
            <li class="mui-table-view-cell pic">
                <p>产品详情</p>
                <div class="mui-content-padded">
                    <p>这是图片放大预览示例，点击如下图片体验全屏预览功能</p>
                    <p>
                        <img src="./../images/u104.png" data-preview-src="" data-preview-group="1">
                    </p>
                    <p>图片全屏后，双击或双指缩放均可对图片进行放大、缩小操作，左右滑动可查看同组(data-preview-group相同的图片为一组)其它图片，点击会关闭预览</p>
                    <p>
                        <img src="./../images/u104.png" data-preview-src="" data-preview-group="1">
                    </p>
                    <p>第三张图片，纯粹为了占位： </p>
                    <p>
                        <img src="./../images/u104.png" data-preview-src="" data-preview-group="1">
                    </p>
                </div>
            </li> -->
        </ul>
        <div class="cart-number">
            <div class="product-number">
                <span>购买数量：</span>
                <div class="mui-numbox" data-numbox-min='1'>
                    <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
                    <input class="mui-numbox-input" type="number" value="<%=num%>" />
                    <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
                </div>
            </div>
        </div>
        <div class="cart-details">
            <p>产品详情</p>
        </div>
    </main>
    <script type="text/template" id="details">
        <li class="mui-table-view-cell ">
            <p class="title"><img src="../images/shop.png" alt=""> <%= result.cotName%></p>
            <p class="details-price clearfex">
                <span> ￥<i><%= result.cotPrice%></i></span>
                <span>库存：
                    <i><%= result.cotInventory%></i>
                </span>
            </p>
            <div class="details-info">
                    <%= result.cotDetails%>
            </div>
        </li>
        <li class="mui-table-view-cell ">
            <div class="type">
                <span>规格：<%= result.cotType%></span>
                <span> 型号：<%= result.cotSize%></span>
                <span>颜色：<%= result.cotColor%></span>
            </div>
        </li>
    </script>
    <!-- 引入zepto库 -->
    <script src="./../lib/zepto/zepto.min.js"></script>
    <!-- 引入MUI库  -js文件 -->
    <script src="./../lib/mui/js/mui.min.js"></script>
    <!-- 引入模板引擎 -->
    <script src="./../lib/artTemplate/template-native.js"></script>
    <script src="./../js/comment.js"></script>
    <!-- 引入本页面的js -->
    <script src="./../js/details.js"></script>
</body>

</html>